package itcz.example.pattern.structure_type.adapter.interface_adapter;

/**
 * @ClassName: LightController
 * @Author: ITCZ
 * @Date: 2025-07-24
 * @Description:
 */
public class LightController extends DeviceControllerAdapter {
    @Override
    public void powerOn() {
        System.out.println("电灯开启");
    }

    @Override
    public void powerOff() {
        System.out.println("电灯关闭");
    }

    @Override
    public void adjustBrightness(int level) {
        System.out.println("电灯亮度调整到：" + level);
    }
}
